package com.itheima.manager.system.domain;

import java.util.Date;

public class Teacher extends  Person {
    private String work;

    public Teacher() {
    }

    public Teacher(String id, Integer age, String address, Date date, String job, String name, String work) {
        super(id, age, address, date, job, name);
        this.work = work;
    }

    public Teacher(String work) {
        this.work = work;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }
}
